.NET in Action, Second Edition by welcome.html

.NET in Action, Second Edition by welcome.html

Author:welcome.html
Language: eng
Format: epub


The call to GetByEmailAsync should always return null. Here we see the use of the A<>.Ignored property, which means that we don’t care what the input is. The same property is used for the assertion on CreateAsync. A variation on the MustHaveHappened method allows indicating how many times the fake method must have been called. There are many other variations of this method that should be discoverable through your IDE’s auto-complete (or go to FakeItEasy’s excellent documentation site at https://fakeiteasy.github.io/docs).



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.